package entity

import (
	"time"
)

type ServerChat struct {
	ID        int64
	ServerID  int32
	RoleID    int32  `gorm:"index"`
	Name      string `gorm:"size:255"`
	Photo     int32  `gorm:"type:smallint"`
	VIP       int32  `gorm:"column:vip;type:smallint"`
	Level     int32  `gorm:"type:smallint"`
	Content   string `gorm:"size:255"`
	CreatedAt time.Time
	UpdatedAt time.Time
}

type GuildChat struct {
	ID        int64
	GuildID   int32
	RoleID    int32  `gorm:"index"`
	Name      string `gorm:"size:255"`
	Photo     int32  `gorm:"type:smallint"`
	VIP       int32  `gorm:"column:vip;type:smallint"`
	Level     int32  `gorm:"type:smallint"`
	Content   string `gorm:"size:255"`
	CreatedAt time.Time
	UpdatedAt time.Time
}
